package com.gexiaobao.pigeon.app.model.bean

/**
 * @author:hxw
 * @date  :2023/1/11
 * @desc  :
 */
class RaceRankingResponse(

    var total: Int = 0,
    var passResultHead: ArrayList<PassResultHead> = arrayListOf(),
    var passResultBody: ArrayList<PassResultBody> = arrayListOf()

) : java.io.Serializable {

    /**
     * 数据是否为空
     */
    fun isEmpty() = passResultBody == null || (passResultBody as List<*>).isEmpty()

    /**
     * 数据是否为空
     */
    fun isEmpty1() = passResultHead == null || (passResultHead as List<*>).isEmpty()


    class PassResultHead(

        var title: String = "",
        var key: String = "",
        var isCanSort: Boolean,
        var sortType: Int = 0,

        ) : java.io.Serializable

    class PassResultBody(
        var fosterName: String = "",
        var memberNum: String = "",
        var ringId: String = "",
        var speed1: String = "",
        var speed2: String = "",
        var speed3: String = "",
        var speed4: String = "",
        var speed5: String = "",
        var speed6: String = "",
        var speed7: String = "",
        var sp1: String = "",
        var sp2: String = "",
        var sp20: String = "",
        var totalGrade: String = "",
        var sp21: String = "",
        var sp3: String = "",
        var sp4: String = "",
        var totalRank: String = "",

        ) : java.io.Serializable

}